package model;

public class Article {
    private int ArticleId;
    private String name;
    private String content;
    private int userId;

    public int getArticleId() {
        return ArticleId;
    }

    public void setArticleId(int articleId) {
        ArticleId = articleId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "Article{" +
                "ArticleId=" + ArticleId +
                ", name='" + name + '\'' +
                ", content='" + content + '\'' +
                ", userId=" + userId +
                '}';
    }
}
